package com.xz.stu.server.service;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import com.xz.stu.server.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xz.stu.server.vo.course.*;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【school_course】的数据库操作Service
* @createDate 2025-03-01 15:18:50
*/
public interface CourseService extends IService<Course> {

    Long createCourse(CourseCreateReqVO createReqVO);

    void updateCourse(CourseUpdateReqVO updateReqVO);

    void deleteCourse(List<Long> courseId);

    CourseRespVO getCourse(Long courseId);

    List<CourseRespVO> getCourseList(CourseListReqVO listReqVO);

    PageResult<CourseRespVO> getCourseListPage(CourseListPageReqVO listReqVO);

    List<ScheduleRespVO> getCourseListSchedule(Integer week,Long termId);
}
